import request from "@/router/axios";

export function fetchList(query) {
  return request({
    url: "/admin/figure/list",
    method: "get",
    params: query
  });
}

export function putFigure(query) {
  return request({
    url: "/admin/figure/put",
    method: "post",
    data: query
  });
}

export function getSingle(query) {
  return request({
    url: "/admin/figure/getSingle",
    method: "get",
    params: query
  });
}



export function deleteFigure(query) {
  return request({
    url: "/admin/figure/delete",
    method: "get",
    params: query
  });
}

export function updateFigure(query) {
  return request({
    url: "/admin/figure/update",
    method: "post",
    data: query
  });
}

export function figureShowMulti(query) {
  return request({
    url: "/admin/figure/figureShowMulti",
    method: "post",
    data: query
  });
}
